package 链表;
//使用双端单向链表实现的

public class QueueLinkedList {
	private DoublePointLinkedList dp;

	public QueueLinkedList() {
		dp = new DoublePointLinkedList();
	}

	public void insert(Object data) {
		dp.addTail(data);
	}

	public void delete() {
		dp.deleteHead();
	}

	public boolean isEmpty() {
		return dp.isEmpty();
	}

	public int getSize() {
		return dp.getSize();
	}

	public void display() {
		dp.display();
	}

}
